projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7b3cf9
)
repo: Fix an uninitialized variable
author
Colin Walters
<walters@verbum.org>
Mon, 8 Aug 2016 10:34:50 +0000
(06:34 -0400)
committer
Atomic Bot
<atomic-devel@projectatomic.io>
Mon, 8 Aug 2016 11:13:06 +0000
(11:13 +0000)
Closes: #431
Approved by: giuseppe
src/libostree/ostree-repo-commit.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-repo-commit.c
b/src/libostree/ostree-repo-commit.c
index decb7d300596a421a59bf3c0df6f7f573512d26c..9a938ddc4f76e0250511b0341e0fd82a2a742253 100644
(file)
--- a/
src/libostree/ostree-repo-commit.c
+++ b/
src/libostree/ostree-repo-commit.c
@@
-2066,7
+2066,7
@@
ostree_repo_write_commit_detached_metadata (OstreeRepo *self,
char pathbuf[_OSTREE_LOOSE_PATH_MAX];
g_autoptr(GVariant) normalized = NULL;
gsize normalized_size = 0;
- const guint8 *data;
+ const guint8 *data
= NULL
;
_ostree_loose_path (pathbuf, checksum, OSTREE_OBJECT_TYPE_COMMIT_META, self->mode);